﻿<controls:ChildWindow x:Class="ContinuumSL.PasswordChildWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="220" 
           Title="Enter Password for Continuum">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="Cancel" Click="CancelButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,0,0" Grid.Row="1" TabIndex="4" />
        <Button x:Name="OKButton" Content="OK" Click="OKButton_Click" Width="75" Height="23" HorizontalAlignment="Right" Margin="0,12,79,0" Grid.Row="1" TabIndex="3" />
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="31,42,0,0" Name="passwordBox" VerticalAlignment="Top" Width="299" TabIndex="0" KeyDown="passwordBox_KeyDown" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="32,22,0,0" Name="lblPassword" Text="Password (or blank to remove encryption) :" VerticalAlignment="Top" />
        <TextBlock Height="23" HorizontalAlignment="Left" Margin="34,82,0,0" Name="lblConfirm" Text="Re-enter Password :" VerticalAlignment="Top" />
        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="33,99,0,0" Name="passwordBoxConfirm" VerticalAlignment="Top" Width="297" TabIndex="2" KeyDown="passwordBoxConfirm_KeyDown" />
    </Grid>
</controls:ChildWindow>